package au.org.htd.youslide;

import java.util.logging.Logger;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

public class PMF {
   @SuppressWarnings("unused")
   private static final Logger log = Logger.getLogger(PMF.class.getName());

   private static final PersistenceManagerFactory pmfInstance = JDOHelper
         .getPersistenceManagerFactory("transactions-optional");

   public static PersistenceManager getPM() {
      return pmfInstance.getPersistenceManager();
   }
}
